import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import {
    Button, Tabbar, TabbarItem,
    Icon, Search, Swipe, SwipeItem,
    Grid, GridItem, Image,
    Sidebar, SidebarItem,
    Notify, Toast, Sku,
    Card, GoodsAction, GoodsActionIcon, GoodsActionButton,
    Stepper, Field, CellGroup, Form,
    Step, Steps, AddressEdit, Area,
    SubmitBar,Image as VanImage
} from 'vant'

Vue.prototype.$axios = axios
Vue.use(ElementUI)
Vue.use(VanImage)
Vue.use(SubmitBar)
Vue.use(Area)
Vue.use(Step)
Vue.use(Steps)
Vue.use(AddressEdit)
Vue.use(Form)
Vue.use(CellGroup)
Vue.use(Field)
Vue.use(Stepper)
Vue.use(GoodsAction)
Vue.use(GoodsActionIcon)
Vue.use(GoodsActionButton)
Vue.use(Button)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Icon)
Vue.use(Search)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(Image)
Vue.use(Sidebar)
Vue.use(SidebarItem)
Vue.use(Toast)
Vue.use(Notify)
Vue.use(Sku)
Vue.use(Card)

Vue.config.productionTip = false
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
